replace stopIfNotMass* by stopIfNotIsMass*
0.18 release