api_cmd_destroy_cells
api_cmd_destroy_cells(chain, cell_idx);
api_cmd_destroy_cells(chain, chain->num_cells);