small cleanup in BVH