modified exponent calculation