htx_add_blk_type_size() creates a block of a specified type and size and returns it. The caller can then fill it.