fix bugs: add the cube_lseq[i,j,face] in the prev_next_dirs