Effect of the long-range adsorbate interactions on the atomic self-assembly on metal surfaces