Add max and average path