Fix finding of small triangles