Pure mathematics: the smaller the country, more of its area (in percentage) is close to the border
When there is a city close to the border (Strasbourg, Frankfurt/Oder Salzburg, Bodensee area, Badajoz,...) the amount of people that are often crossing the border and suffer from roaming prices is very high.