performance optimization for compressed nodes in bvh4hair