Move ITERATOR to method-local

This will prevent any possible multi-thread whackiness with double-incrementing ITERATOR.