Adjusted spanning tree to use round trip cost for edge