Using the dumb/smart way of min and max collection.