System of particles with shifted magnetic dipoles