private SimpleDomain buildDomain(int pi, int farthest, Region w) { int left = getLeftBound(pi, w); int right = getRightBound(farthest, w); return new SimpleDomain(w.getGenome(), w.getChrom(), left, right); }