Added CHUNKS_PER_THREAD