Upgrade the lowest buildings first.
Less indentation.
Better implementation.