code: def include_block(self, x):
          
          last_pos = self._chr_last_blocks.get(x.chrom, 0)
          # Region excludes an entire chromosome, typically decoy/haplotypes
          if last_pos <= self._end_buffer and x.stop >= self._ref_sizes.get(x.chrom, 0) - self._end_buffer:
              return True
          # Do not split on smaller decoy and haplotype chromosomes
          elif self._ref_sizes.get(x.chrom, 0) <= self._target_size:
              return False
          elif (x.start - last_pos) > self._target_size:
              self._chr_last_blocks[x.chrom] = x.stop
              return True
          else:
              return False
docs: Check for inclusion of block based on distance from previous.