first cut of piecewise polynomials