change method for alignment to meanshape