MDLD/modulus function (R)