 	cudaFree(dev_mesh_facet_index);
 	cudaFree(dev_seedsInformation);
 	cudaFree(ret_seeds);
+	cudaFree(test_seeds);
 	cudaFree(dev_facet_center_neighbors);
 	cudaFree(dev_seeds_neighbors);
 

	cudaEventSynchronize(stop);
	cudaEventElapsedTime(&elapsed_time, start, stop);
	printf("Compute RVD time: %lfms\n", elapsed_time);
	getchar();
	//for (int i = 0; i < points_nb; ++i)
	//{
	//	if (fabs(host_seedsInfo[i * 4 + 3]) >= 1e-12){

	current_polygon.vertex[1].x = v2.x; current_polygon.vertex[1].y = v2.y; current_polygon.vertex[1].z = v2.z; current_polygon.vertex[1].w = 1.0;
	current_polygon.vertex[2].x = v3.x; current_polygon.vertex[2].y = v3.y; current_polygon.vertex[2].z = v3.z; current_polygon.vertex[2].w = 1.0;
	
	
	//doesn't have the stack?
	int to_visit[CUDA_Stack_size];
