public Pair<Integer, Integer> getAbsoluteContext(
Pair<Integer, Integer> relativeContext) {
// TODO Auto-generated method stub
if(positionContext.size() == 0) return relativeContext;
Pair<Integer,Integer> absPos = positionContext.get(positionContext.size()-1);
return new Pair(absPos.getElem1()+relativeContext.getElem1(),
absPos.getElem2() + relativeContext.getElem2());
}