implemented reading/writing for vectors. added support for unaligned data in boxed values (reduces wasted storage space)