Linkages between grain structure and protrusion of TSV in 3D packaging