Calculating with the fiber optics