Now pass the set of changed joints as s separate parameter to the translator. This reduces needless packing/unpacking of which joints have changed and simplifies code.