The influence of boundary region heterogeneities on the geodynamo