Meanwhile, Germany had been cut off from foreign trade for years by the time it invaded the USSR, was in the middle of two extended and costly theatres at air and sea that further limited production (Battle of the Atlantic and Defence of the Reich), and was forced to devote a large segment of its expenditures to goods the Soviets could cut back on (such as trucks) or which would never even be used against the Soviets (such as ships).