more optimizations to Edge.itertors().vertexIterators().