Solved a problem with the shapes module that in parallel MPI processes not always the same meshes were created on each node