Gửi tin nhắn: Determining an optimal production run length with an extended quality control policy for an imperfect process