restore ability to revector definitions
fix memory layout to support --shrink on save