initialize chunk offset