cuboid min/max distance to point; changed tree node downsampling; fixed octree