detect more invalid triangulations