Mask edge artefacts

If the first issue is what I am seeing as well, I don’t think it is due to a too-sharp mask in this case (and in any case, the edge of the mask in local refinement should be set by the dynamic masking parameters, not the input mask).

I am routinely seeing these fine, sharp ripples outside the borders of the mask now, even in local refinements which previously ran successfully. The masked real space slices look fine, but the output map is extremely distorted by these artefacts. I didn’t see this prior to 2.12, so I wonder if it is a result of optimizations made to increase refinement speed (@apunjani is this possible)?

Cheers
Oli