An extended optimal lot sizing model with an unreliable machine