changed block size to 4 in sample images