Change terms hash initialization in Corpus
Change tf hash initialization in Document