The city when it trembles. Earthquake destructions, post-earthquake reconstructions and grid configuration