keep orthogonal visited graph in #walk