For example the United States constitution didn't happen quickly - there was a long period of people writing and discussing about such things, the age of enlightenment (I'm still grasping to understand how it happened, it seems so unlikely). There were also only under three million people living in USA when it became independent.