Use cloned middle in cloned outputs.
Need to include std set in test-expire-tiles.