Model of molecule in basis of three localized eigenstates