weighted graph spanning tree, stats