A possibile contribution of companion galaxies to intra and extra-cluster UHE cosmic rays