Use new semantics of min/max