align minmax to the new if