 	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;
 	
-	/*if (tid == 0)
-	{
-		ret_seeds[0] = current_polygon.vertex[0].x;
-		ret_seeds[1] = current_polygon.vertex[0].y;
-		ret_seeds[2] = current_polygon.vertex[0].z;
-		ret_seeds[3] = current_polygon.vertex[0].w;
-		ret_seeds[4] = current_polygon.vertex[0].neigh_s;
-	}*/
 	
 	//doesn't have the stack?
 	int to_visit[CUDA_Stack_size];

	cudaFree(dev_mesh_facet_index);
	cudaFree(dev_seedsInformation);
	cudaFree(ret_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);
	
	//for (int i = 0; i < points_nb; ++i)
	//{
	//	if (fabs(host_seedsInfo[i * 4 + 3]) >= 1e-12){
