Add union-find fusion.