You do realize Abraham Lincoln won less than 40% of the popular vote. Nearly 48% of democrats voted against Lincoln. If we had some sort of run off system to achieve a majority of the popular vote it is more than likely Abraham Lincoln would not have become president. The electoral college which geeblock insinuates is based in the preservation of slavery allowed the election of the man that led the end of it.
The state with the greatest population at the constitutional convention was the slave state of Virginia. The slave states of North Carolina and South Carolina had greater populations than the state of New York.
New Jersey, New hampshire, Rhode Island, and Delaware near the bottom. Rhode Island being the last to sign.