bug fixed: NOT set last_block->next when realloc