adding chunking per thread and :chunk_size