Waveguide design for minimum nonlinear effective area and switching energy in AlGaAs at half the bandgap