Made MAX_GAP_LENGTH public.