Magnetic structure and lattice contraction in Mn3NiN