Remove the min/max functions in CommonFuncs. The algorithm header has the same functions.