Reduce the number of maximum different pixels