How to save a city by knocking down thousands of its buildings