This could be called `min_max`.