added in mst to sum graph