Broke out OneDimensionalPartition class into file