Fixed printing to adapt to block size