apply IK after optimization