A dynamic equilibrium model of firm's life cycle and mergers as efficient