Morphological evolution of TiC from octahedron to cube induced by elemental nickel