Reduce the number of comparisons.