unify the graph sizes