public int getPointerByRelOffset(int offset) {
    Integer absoffset = collinstr.getKey(pointer) + offset;
    if (collinstr.containsKey(absoffset)) {
      return collinstr.getIndexByKey(absoffset);
    }
    else {
      return -1;
    }
  }
public int getPointerByRelOffset(int offset)