Iterate over all the blocks over their width and height.