Correction of a bug in the segment numbering.
On endcap outer rings (SS modules) the segment value used to create a pattern was always 0