performance optimization in bvh2hair intersector