partial implementation of move compression
preparing move compression for storage