Micro shape optimization for minimizing microstructural thermal-stress considering heat conduction