Factors for choosing factory locations