How is the production time calculated?