Fixed bugs in 3D eff constraints