Free and slave states had to be an equal number. Missouri wanted to be a state, neither North or South wanted to upset the balance in Congress, Missouri enters as a slave state, Maine as a free state. Then future states above 36N would enter free and below would be slave.