Version working on 1DOF chains