changed relevant ints to unsigned in _hash_table