Theoretical Adjustment of Necessary Conditions for Enhancing Figure of Merit of Thin Thermoelectric Layers