Optical design of flattened single mode optical fiber utilizing temperature dependence refractive indices of different materials