Making the graph more compact