updated pass chunk and get chunk to use zchunk_t