it would more exact to add 1 to `num_nodes` instead of decreasing `num_edges`