finish the graph build