What factors made the Great Compromise necessary?

Members of the upper house would be chosen by state legislatures. And each state no matter what size, would have 2 senators. This plan appealed mostly to the smaller states.