Magnetic Domain Wall Formation in Ferromagnetic Wires With a Nanoconstriction