Impact of the cotton gin on slavery