add boost_serialization and cache to VoxelArray, some minor refactoring