Improve self-collision algorithm. Triangles in an inner layer from surface
are considerd.