modify BlockGraph.hpp