A forward algorithm and planning horizon procedure for the production smoothing problem without inventory