while(otu.hasNext()){
AtomContact ac = otu.next();
Pair<Atom> pair = ac.getPair();
Group g1 = pair.getFirst().getGroup();
Group g2 = pair.getSecond().getGroup();
<BUG>int i = indResMap.get(g1.getResidueNumber().getChainName()+g1.getResidueNumber().getSeqNum());
int j = indResMap.get(g2.getResidueNumber().getChainName()+g2.getResidueNumber().getSeqNum());
checkAddHBond(i,j);</BUG>
if (j!=(i+1)) checkAddHBond(j,i);
}

while(otu.hasNext()){
AtomContact ac = otu.next();
Pair<Atom> pair = ac.getPair();
Group g1 = pair.getFirst().getGroup();
Group g2 = pair.getSecond().getGroup();
int i = indResMap.get(g1.getResidueNumber());
int j = indResMap.get(g2.getResidueNumber());
checkAddHBond(i,j);
if (j!=(i+1)) checkAddHBond(j,i);
