Turns out that nRep refers to the number of repetitions of the *whole loop*...
Attach a file by drag & drop or click to upload