removed mergeGraphs from ClassHierarchy.build()