Sort:  

Medieval cities have narrow streets and irregular to defend against attacks and threats of invaders.

Oh ok, I did not know that, every day I learn something new ... Thanks. :)