rewrite ikspline setup