Ported BVH to triangle mesh