When the united states constitution was written, which compromise was reached by the authors to gain the support of the states with small populations?