collectPartitions()