; or (C) cost-of-living allowances in nonforeign areas under section 5941. (3) Limitations (A) In general During the control period described in subparagraph (B), the amount of the overtime supplement that is considered basic pay under paragraphs (1)(A) and (1)(B) may not exceed the amount derived by multiplying the border patrol agent’s basic border patrol rate of pay by the percentage representing the agent’s career average of assigned overtime supplement percentages (including 0 percent for periods of time during which no overtime supplement was payable). That career average percentage is computed without regard to the effect of the limitation on premium pay under section 5547, but the premium pay limitation remains applicable in determining the dollar amount of any overtime supplement computed using the career average percentage. (B) Control period For the purposes of applying subparagraph (A), the control period described in this subparagraph is the period that begins 3 years before the date a border patrol agent will meet age and service requirements associated with entitlement to an immediate annuity and continues throughout the remainder of the individual’s career as a border patrol agent. (C) Assigned overtime supplement percentages For the purpose of applying subparagraph (A), a border patrol agent’s initial career average of assigned overtime supplement percentages is the average for the border patrol agent’s career (excluding any period of initial training prior to the agent’s first regular work assignment) prior to the beginning of the control period described in subparagraph (B). During such control period, the career average shall be recomputed at the end of each annual period (as described in subsection (b)(1)(A)). In computing such career average, any periods of service as a border patrol agent prior to the first day of the first pay period beginning on or after January 1, 2016, shall be included, and the agent’s assigned overtime supplement during such periods shall be deemed to be 25 percent.