Babbage: How to save cities from sinking