Distillation of an Indefinite Number of Components