align all shapes to mean shape