traverse all the partition