more optimizations in compressed bvh4hair