Ion beam surface interaction at grazing incidence