collect stats from each chunk