add MST prime ,but there are too many bugs