found critical data structures in graph