Simplify min/max bashing