move Piecewise handling