Utils::added a VectorIterator class which does not always recreate iterators on heap