The Dependence of Shrinkage Stress Reduction on Porosity Concentration in Thin Resin Layers