update ccrf piecewise inference