clean hash_reference and hash_misc before processing each big ann file