kdtree.h: avoid division operations; 2-4 points per leaf node; use 64 bits for some intermediate values to avoid overflow; update comments.
kdtree.h: avoid division operations; 2-4 points per leaf node; use 64 bits for some intermediate values to avoid overflow; update comments.

bustercopley/polymorph,bustercopley/polymorph