Tính toán biên trong sản xuất