Take the max instead of the average