piecewise development