U5: better splines, fix signs