3D simulation of quantum-wire confining potential for a GaAs/AlGaAs 2DEG heterostructure