A lot-sizing policy for production planning with applications in MRP