Structural transitions in a NiTi alloy: a multistageloading-unloade cycle