blancePlanPIndexes() helper function