Adding partition smp with PartitionResult class