improved attenuation algorithms