Adjust the criterion for storing the (s,y) pairs when using a scaling
factor.