Learning by doing, changes in industrial structure and trade patterns, and economic growth in a small open economy