create partitions.