N-dimensional B-spline surface estimated by lofting for locally improving IRI