Fixed add_block, completed remove_block and change_size