partitionForPosition