code: function(length, opt) {
  
              var index = this.segmentIndexAtLength(length, opt);
              if (!index) return null;
  
              return this.getSegment(index);
          }
docs: Accepts negative length.