 		centriodTimesWeight = { 0.0, 0.0, 0.0 };
 	}
 
-	atomicAdd(&SeedsPolygon_nb[current_seed], 1);
+	//atomicAdd(&SeedsPolygon_nb[current_seed], 1);
 	if (triangle_nb > 0){
 
 		current_weight /= triangle_nb;


	//__syncthreads();
	
	//for (int i = 0; i < seeds_nb * 4; ++i)
	//{
	//	ret_seeds[i] = SeedsInformation[i];
	//}
	//for (int i = 0; i < seeds_nb; ++i)
	//{
	//	ret_seeds[i] = SeedsPolygon_nb[i];

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

