 #include <iostream>
 
 #include <thrust/remove.h>
+#include <thrust/scan.h>
 #include <thrust/sort.h>
 #include <thrust/transform.h>
 

    }
};


void MortonDacrtNodes::Create(RayContainer& rayContainer, SpheresGeometry& spheres) {
    

    }
    const size_t currentSize = spherePartitionPivots[cubes.Size()];
    sphereIndices.resize(currentSize);
    sphereIndexPartition.resize(sphereIndices.size());
    nextSphereIndices.resize(sphereIndices.size());

    std::cout << "sphere partition pivots: ";
