Initial VirtualArray iterator code
Use the iterator in top()