preliminary function updateTrimBits in PyPxarCore