find sum m-rib in minimal spanning tree