What is recipe to numerically estimate the maximum deviation of the extrapolated curve from the original piecewise linear one? 