Mesh generation with periodic surfaces with MPI

I encountered an error while trying to create distributed meshes with periodic surfaces using MPI.
I appended an example that works with one pair of periodic surfaces, but when I add another pair I get the error netgen.libngpy._meshing.NgException: Ask for unused hash-value.
There seems to be an influence by the mesh size as well, because for maxh=0.1 it works.
Without MPI there is no problem whatsoever.

I use ngsolve version 6.2.2402 with OpenMPI/4.1.4 and mpi4py/3.1.4.

MWE_MPI.py (814 Bytes)