Joints, elastic rope, box2d constants

Hi!
I have big troubles creating rope via box 2d.
For rope I use set of rectangle shapes connected with line joints. So, it's not very difficult task, and I've managed with it. But troubles began, when I've tried to reduce amount of segments of rope. I need rope, that will work like a winch - being stick to some object on the scene it will pull another object attached to other end while reducing it's length.
I tried to remove shapes one by one, gradually pulling end with dynamic body to another end. But when my dynamic body meet some obstacle on it's way, distance between anchors of joints exceed some critical value and all joints and segments in the rope starts behaving like a electro-guitar string with extremely high voltage applied.
I've tried to tune box2d constants like b2_linearSlope, b2_maxLinearCorrection - it came only worth. I've tried to handle joint translation exceeding, but in b2LineJoint::SolvePositionConstraints method:
else if (translation >= m_upperTranslation)
{
// Prevent large linear corrections and allow some slop.
C2 = b2Clamp(translation - m_upperTranslation - b2_linearSlop, 0.0f, b2_maxLinearCorrection);
linearError = translation - m_upperTranslation;
active = true;
}
this condition has never reached, because difference between my upper and lower limits less than linearSlope constant.
I've even tried to create my own Joint, based on Line joint, and apply forces or change bodies positions manually, but it either haven't helped or have been killing my application (I suppose, manually change positions of bodies inside the solving operation was bad idea).

So, I'm dried. Could you advice me the way I could reach my reducing rope?
TIA.
Just an idea, but I would probably try using revolute joints to connect the links. Then I would create a prismatic joint on the receiving end attached to the current base link. You could then motorize the prismatic joint to pull the rope link. Once it has been pulled sufficiently, you could destroy the prismatic joint and create a new one attached to the next rope link.

Original thread: https://box2d.org/forum/viewtopic.php?t=6844