shapes module now working correctl in MPI mode