sim thresholds and topk neighbours