refine digests