 
 extension Segmentio.Points {
     
-    init(item: Segmentio.ItemInSuperview, atIndex index: Int, allItemsCellWidth: [CGFloat], pointY: CGFloat, position: SegmentioPosition, style: SegmentioStyle) {
+    init(item: Segmentio.ItemInSuperview, atIndex index: Int, allItemsCellWidth: [CGFloat], pointY: CGFloat, position: SegmentioPosition, style: SegmentioStyle, isRTL: Bool) {
         let cellWidth = item.cellFrameInSuperview.width
         var startX = item.startX
         var endX = item.endX

        // Cell will try to position itself in the middle, unless it can't because
        // the collection view has reached the beginning or end
        startX = (item.collectionViewWidth / 2) - (cellWidth / 2 )
        if spaceBefore < (item.collectionViewWidth - cellWidth) / 2 {
            startX = spaceBefore
        }
        if spaceAfter < (item.collectionViewWidth - cellWidth) / 2 {
            startX = item.collectionViewWidth - spaceAfter - cellWidth
        }
        endX = startX + cellWidth
        

                allItemsCellWidth: itemWitdh,
                pointY: indicatorPointY(),
                position: segmentioOptions.segmentPosition,
                style: segmentioStyle,
                isRTL: isRTL
            )
            let insetX = ((points.endPoint.x - points.startPoint.x) - (item.endX - item.startX))/2
            moveShapeLayer(
