8. Glue 4 cubes into a "convex" shaped block, and place it on the leftmost side of a $7 \times 3$ grid. Continuously flip this block to the right until it flips out of the grid. The number of grids the block does not pass through is $\qquad$.
$6$