Add configurability for the modulus test used to trace in the range of (min, max].