debugging. reversed orientation of triangles