See https://github.com/ToFuProject/bsplines2d/pull/133
See ToFuProject/bsplines2d#133