again with the triangles... damn you yodle for making me learn depth-first search!