optimize reorder_block() though this function seems to be executed too rarely for...