use new method to get the mean shape