Added ability to toggle threshold for having buildings with different size heights.