specialize min/max functors to mitigate performance issues in reduction