Combination of electrical and thermo-mechanical impacts of through-silicon via (TSV) on transistor