Smart contract to get account balances in batches?

Yes, occasionally i need to handle such a situation.

I managed to create a smart contract that can fetch balances for 64 unique accounts in a single request (limit for the smart contract is 4 accounts within one transaction and 16 transactions within one group). Additionally, I added async and threading for greater efficiency.