What were the two main compromises of the constitutional convention and how did they affect the government