switch to index instead of pointer layout for bvh4hair