Add a piecewise polynomial charge