fix constructing QBVH
impl CollectBoundingBoxes for Visualization