                     if (skipCount > maxSkipCount)
                     {
                         maxSkipCount = skipCount;
-                        firstIntervalLabel = prevLabel;
-                        lastIntervalLabel = _labels[base + dir * (i - 1)];
                     }                       
                     skipCount = 0;
                     prevLabel = thisLabel;

            if (skipCount > maxSkipCount)
            {
                maxSkipCount = skipCount;
                firstIntervalLabel = prevLabel;
                lastIntervalLabel = _labels[base + dir * (i - 1)];
            }     
            lastLabel = _labels[maxSkipCount + 1];
        }
        	
        else

                base = n - 1;
                dir = -1;
            }
                            
            for (var i:int = 1; i < n; i++)
            {
