updated mst so it produces a better graph...