Thickness of a layer with high refractive material