discussion of graph building