fixed bug in degenerate case, fixing normals