Some BVH construction improvements