bugfix in pre-allocation for hair bvh nodes