The welfare state, thresholds, and economic growth