What did the three-fifths compromise do?