Constructive and destructive aspects of heterogeneity in Bosnia-Herzegovina