handle degenerate tetrahedra