tune the distance attenuation