moved KDCompare (V3 a) instance to internal
moved linsearch to internal
added merge and update functions, no for update yet