What safety mechanism trigger are you talking about?
Where did the 100,000 come from?
What do you mean by 110000 instances?
It would be easier if you tell us what you're trying to dicover with these loops.
The fact is, the value of i will always be number of iterations + 1 - true in all programming languages.
-Abhilash