added max points on a line