write cluster labels and cell ids when building the pareto log