init for chunkarray and hashvector