Add Max Points on a Line solution.