optimized t1 encoding
allocate code block memory in one go, for each tile
parallelize code block encoding