base min/max reversed