         printf("INITS kernel launch failed with error \"%s\".\n",
                 cudaGetErrorString(cudaerr));
     while(flag && delta >= 1){
+        init_array_consecutive<<< 1, N >>>(roots);
         get_class_components_global<<< 1, 1, sharedmemsize >>>(numbering_gpu, indptr_gpu, indices_gpu, mask, N, roots);
         cudaerr = cudaDeviceSynchronize();
         if (cudaerr != cudaSuccess){

{

    get_class_components(numbering, indptr, indices, mask, n, roots);
    
}

__global__ void spanning_tree_depth(int *indptr, int *indices, float *level, float *in_component, int *neighbors, int curr_level)

    for(int i=0; i<N; i++)
        printf("%lf ", numbering[i]);
    printf("\n");
    printf("%d\n", numbering_copy.size());

    cudaFree(numbering_gpu);
    cudaFree(mask);
