Thank you, MarkyD and Alimonster for the replies.
The solution is sooo simple, can't believe I didn't saw that one ops:

The site you provided, Alimonster, explained it pretty well...
Although you also made me realize that there are more ways to increase speed than changing the for-loop, into a while-loop.