Text this: Automatic Identification and Elimination of the Rigid Subchain in Kinematic Chain