malloc issue in reserving mesh materials size
Memory management related error codes (e.g. malloc(): invalid size (unsorted); malloc(): unaligned tcache chunk detected) are seen in simulations which are partially periodic (e.g. periodic in X and Y but not in Z).