Moved to faster-but-slightly-wrong kd-tree traversal algorithm