added mst merge