partial progress on bsplines