Well, seems I was the first to download it! 1 download only :P
Bug: If a large power pole is half in one chunk and half in the other, it fails to detect it on one of the chunks and removes the chunk and there goes the power pole. Good luck find a way to prevent this that would not affect current performance :(
Optimization: you should use count_entities_filtered instead of find_entities_filtered. its way more efficient since it only returns a number instead of creating a map with entities and avoids iterating over the map, even if uou force the map to only has one item!