Shape effects on scattering in quantum wires with a transverse magnetic field