Peculiarities of pair interaction in the four-band Hubbard model