compute mst statistics