First stab at porting the compacting tree from Volt's C++ version, checkpointing for safety before walking dogs