optimize the _.max and _.min