change constructor of PartitionManager.