fixed gaps, problem: total number of segments
fixed gaps, problem: total number of segments