Now partitions are independent of the number of clusters. For the time being, the code only works for x86