code: public static Range extendRange(SequenceQuality quality, QualityTrimmerParameters parameters, Range initialRange) {
          int lower = pabs(trim(quality, 0, initialRange.getLower(), -1, false, parameters));
          int upper = pabs(trim(quality, initialRange.getUpper(), quality.size(), +1, false, parameters)) + 1;
          return new Range(lower, upper, initialRange.isReverse());
      }
docs: Extend initialRange to the biggest possible range that fulfils the criteria of QualityTrimmer along the whole extended region.
  
  The criteria may not be fulfilled for the initial range.
  
  @param quality      quality values
  @param parameters   trimming parameters
  @param initialRange initial range to extend
  @return