A production and inventory control model for multi stage make-to-stock manufacturing systems