Trade patterns and gains from trade with an intermediate good produced under increasing returns to scale