The influence of intense ion beams on gas target densities