fixed bug: invalid formulas slowed bmotion