Self-calibration with the modulus constraint