Stress modeling in planar hetero-structure