how states got their shape