Understanding the Cost Structure of a Firm: Balancing Activities and Achieving Economies of Scope