Propagative Distance Optimization for Constrained Inverse Kinematics