Minimal spanning tree done