in BoundaryGeometry: replace recursive algorithm to set orientation of triangle with iterative
For the time being an recursive algorithm is used to make the normal vector of each triangle inward pointing. This is inefficient for large meshes and - more important - can cause crashes due to memory consumption.