Finalize count-min-sketch