modify subMST