abstraction of the kdtree and searches in x, y && xy