generate mst. minor changes.