tune distance attenuation