; and (6) by inserting after the flush text following subparagraph (F), as redesignated, the following: (2) (A) (i) The Secretary of Homeland Security may establish for a sector or district a distance less than or greater than 25 air miles, but in no case greater than 100 air miles, as the maximum distance from an external boundary of the United States in which the authority described in paragraph (1)(C) may be exercised, if the Secretary certifies that such a distance is necessary for the purpose of patrolling the border to prevent the illegal entry of aliens into the United States, and justified by the considerations listed in subparagraph (B). (ii) The Secretary of Homeland Security may establish for a sector or district a distance less than or greater than 10 air miles, but in no case greater than 25 air miles, as the maximum distance from an external boundary of the United States in which the authority described in paragraph (1)(D) may be exercised, if the Secretary certifies that such a distance is necessary for the purpose of patrolling the border to prevent the illegal entry of aliens into the United States, and justified by the considerations listed in subparagraph (B). (B) In making the certifications described in subparagraph (A), the Secretary shall consider, as appropriate, land topography, confluence of arteries of transportation leading from external boundaries, density of population, possible inconvenience to the traveling public, types of conveyances used, reliable information as to movements of persons effecting illegal entry into the United States, effects on private property and quality of life for relevant communities and residents, consultations with affected State, local, and tribal governments, including the governor of any relevant State, and other factors that the Secretary considers appropriate. (C) A certification made under subparagraph (A) shall be valid for a period of 5 years and may be renewed for additional 5-year periods. If the Secretary finds at any time that circumstances no