33 C.F.R. § 84.19
(b) On high-speed craft of 50 meters or more in length, the vertical separation between foremast and mainmast light of 4.5 meters required by § 84.02(k) may be modified provided that such distance shall not be less than the value determined by the following formula:

Where: y is the height of the mainmast light above the foremast light in meters; a is the height of the foremast light above the water surface in service condition in meters; Ψ is the trim in service condition in degrees; C is the horizontal separation of masthead lights in meters.
Note to § 84.19: Refer to the International Code of Safety for High-Speed Craft, 1994 and the International Code of Safety for High-Speed Craft, 2000.