Transient map

refactor this; use https://github.com/vacuumlabs/persistent/wiki/How-to-random-test-PersistentMap for inspiration