manufacturing lead time calculation