Triangle min path