Nevermind the last commit message. BVH-only (boxes) performs better than BVH+kD-tree, after fixing a stupid mistake on my part.