Hi Slava,

I think the commented asserts are not too useful for debugging (or at least I would want more information about the state than just the asserts), and the invariants they express are not very useful either. I'll clean them up then (also from other methods of KDTreeLinkerAlgo and KDTreeNodes).