DUPLICATE-piecewise
