Nucleation, bifurcation and propagation of local deformation arising in NiTi shape memory alloy