what is the purpose of the three-fifths compromise