Set the number of partitions to 2.