Limit the minimum number of points to ensure that the current point index does not exceed the total number.