public static void fillFileRegionWithZeros(@NotNull FileChannel channel,
                                             long startingOffset,
                                             long upUntilOffset) throws IOException {
    int stride = ZEROES.length;
    ByteBuffer zeros = ByteBuffer.wrap(ZEROES);
    for (long pos = startingOffset; pos < upUntilOffset; pos += stride) {
      int remainsToZero = Math.toIntExact(Math.min(stride, upUntilOffset - pos));
      zeros.clear().limit(remainsToZero);
      channel.write(zeros, pos);
    }
  }
public static void fillFileRegionWithZeros(@NotNull FileChannel channel,
                                             long startingOffset,
                                             long upUntilOffset)