gaussian beam cleanup