correct overlap computation for multiple knn matches