Data structure minimum spanning tree