Add option to do the entire process in batches
It seems that retrieving all buildings at start of the process and putting them in the queue strains the process, making it very slow. I don't exactly know what is the reason, but processing 10 million buildings can be ~5x faster than processing all of them at once. Therefore, one option to try is to batch the entire process.