The main impact of the invention of the cotton gin in 1793 was on