How to fix artifacts in the mesh? (Geometry Script)

Yeah that problem is quite common on booleans, on blender too, did a lot of geometry scripting tbh on my game atleast, but never too much booleans. Generations slices, cuts etc. Will run some experiments to work around.