set threshold to filter annoy output