[fix] kalman limit as an integer
[fix] don't assert(0) on incorrect mask