Recursive scan-columns.
Scan the whole matrix.