fix shrinkshapemean