dt_histogram_worker: plain malloc is fine here