That is OK.

For-Next loops do not use stack space.