make vector of partitions be more abstract CollectionData and not IndexedCollection