completed triangle check.