To make a multilayer first i made a Ni supercell of 3*3*3, consisting of 108 atoms. Then Ti supercell of 2*3*3 was made consisting of 108 atoms. When i tried to stack two layers it shows " Layer 2 deformation to force conform with layer 1 exceeds maximum allowed value of 10%.