change blsMSM interface & fix memory bug (#538)
* fix msm memory issue * remove the threshold functionality from blsMSM * remove import to make CI happy