reworked indexFieldValues to further use batching