However, http://www.cplusplus.com/reference/algorithm/min/