Handle TER record and connect bonds of atoms of standart residues