A refactoring of MrDoob's City Generator .1