public int getWitnessOffset(int baseOffset, boolean getEnd) {
   return diff.getCorrespondingWitnessOffset(baseOffset, getEnd);
 }