How Do States Get Their Shapes