Patchwork B-spline refinement. (September 2017)