Devide queries into pieces so each request doesn't exceed the maximum # of queries that a batch request can take