Public goods, redistribution, and growth: a classical model