; (II) adjust such per beneficiary allowed charges for the quarter, to the extent provided under subparagraph (D); and (III) arrange such adjusted per beneficiary allowed charges for all such drugs or biologicals from high to low and rank such drugs or biologicals by percentile of such per beneficiary allowed charges. (ii) Frequency The Secretary shall make the computations under clause (i)(I) every 6 months (or, if necessary, as determined by the Secretary, every 9 or 12 months) and such computations shall apply to succeeding calendar quarters until a new computation has been made. (iii) Applicable data period For purposes of this paragraph, the term applicable data period means the most recent period for which the data necessary for making the computations under clause (i) are available, as determined by the Secretary. (C) Per beneficiary allowed charges defined In this paragraph, the term per beneficiary allowed charges means, with respect to a drug or biological for which the amount of payment is determined under subparagraph (A) or (B) of paragraph (1)— (i) the allowed charges for the drug or biological for which payment is so made for the applicable data period, as estimated by the Secretary; divided by (ii) the number of individuals for whom any payment for the drug or biological was made under paragraph (1) for the applicable data period, as estimated by the Secretary. (D) Adjustment to reflect changes in average sales price In applying this paragraph for a particular calendar quarter, the Secretary shall adjust the per beneficiary allowed charges for a drug or biological by multiplying such per beneficiary allowed charges under subparagraph (C) for the applicable data period by the ratio of— (i) the average sales price for the drug or biological for the most recent calendar quarter used under subsection (c)(5)(B)