The loop goes over the points that were previously computed, the
algorithm is 9 times faster