subtract itself subtract itself, undirected subtract empty 0 1 1 2 2 1 4 5 real example 1 2 4 5 8 9 real example, undirected 1 2 8 9 8 11 8 12 Github issue #597, undirected 0 0 0 9 4 5 5 6 6 7 7 8 8 9