Fixed min and max modes of histogram