If all humans migrate a similar distance on average, you would expect that a smaller country that is surrounded by other countries to have a higher proportion of immigrants.
Notice that for Switzerland, you need to use the term non-citizens and can't use the term immigrant. That is because a good portion of the non-citizens are not immigrants and have lived here for their entire life.