Finished minimum spanning tree problem