Which government plan debated at the constitutional convention proposed dividing the legislative branch into two houses : one in which represation was based on a states popoulation and one in which each state has two representatives