pr = 1 / N for the first iteration
Merge branch 'test'