Slight optimization for hashing, size of blocks is not calculated now for each file.