A growing OdeBoxGeom with joints


I have the following situation:

bodyA <-OdeHingeJoint-> bodyB <-OdeHingeJoint-> bodyC

bodyA is attached to the end of bodyB, bodyC attached to the other end of bodyB.

Now I want to ‘grow’ bodyB. How could I do this? The main problem I have now is that the hinges won’t stick to the end of bodyB but stay behind on their original position.