Replaced magic number with BLOCK_SIZE