Updated triangle finding