Calculate the Maximum Attenuation for Optical Fiber Links