fixed too large file negative hash logic