add max points on line