It could take five generations for a poor family in the US to work their way up to an average income.