max3 is more efficient than max1 and max2