Fixed bug get_concatenated_block(...)
where I used block_row_index instead of block_col_index.
This is fixed and seems to be working!