A single pass of the algorithm requires a parameter  which is between 0 and  (number of points of our set ).
For each iteration of the algorithm, a necessary value must be within the range of 0 to (the quantity of points in our dataset).