Removes an unnecessary iterator.

Removes an unnecessary ArrayIterator. The incoming values are stored in an array which is allready iterable.