plannerparameters now forces limits whenever _setstatefn is used, jittering also respects limits