An imperfect production process in a volume flexible inventory model