Thanks, I have also thought of it. The thickness in my soil layer is actually controlled by the distance between top grid point and bottom grid point. So after the adjustment as said should it always be higher than a certain value ( I tried 20mm - 100mm ) Therefore the first example works, but the second not.
Maybe I must conside the angle between two triangles at the solid edge. It could not be too small ???
Erik