reduce calls to point inside triangle