Experiments using Union-Find Algorithm