Made maximum attenuation actually work.