Parallel implementation of KNN graph using KD Trees / Divide and Conquer