[kdtree] Add brute method