They made a bicameral legislature (the house and the senate). In doing this, bigger states with more population got higher representation in the House of Representatives (the amount of delegates are by population), and the smaller states received equal representation in the Senate (every state gets 2 delegates). So in the end, everyone got their own form of representation.