generates hot and cold chunk cellcounts in the right positions for array A