Just finalize both data structures