Engineering high-order harmonic generation through gas confinement at sub-millimeter lengths | Synapse