How is the master licence fee determined?

To open in a new country takes a lot of work and understanding of the interested market.
International franchise fees are determined on the size of the market.