simplifying edge_iterator::advance