Fix some errors on T.initHashes and use reduction in SheFileLoader