clean up min(), max() using new definition of Iterable