Block Cube iteration and fix tests.