Add union-find