implemented dipole constraint