add Max Points on a Line