Store indices of children nodes rather than pointer in the bounding volume hierarchy
Created by: dalg24
Motivation: this will let us copy trees between host and device and enable checkpoint/restart if that's something we want to get into.
Note that indices are store as ptrdiff_t
that has the same size as a pointer so that we do not change the alignment.