完成max points on a line