fix bound on graph, add all in out methods to vertex