Bugs fixed (at least some of the worst): BVH + kD-tree works (in most cases).