Add maximum number of points on a line