Added ex post estimation for piecewise method.