add bvh support