Title: A dynamic programming approach to production smoothing problems in single and small batch production