UnionFind & Draw
amortized cost plots