Optimized selective mixing of a GaAs/GaAlAs quantum well for the fabrication of quantum wires