first new version of curve displacement method, similar to previous one, but using approximation of curve with two nearest points now