 		CudaStopWatcher watcher("compute_rvd");
 		watcher.start();
 
-		mode_ = TEXTURE_MEMORY;
+		mode_ = GLOBAL_MEMORY;
 		allocate_and_copy(mode_);
 		//might be improved dim3 type.
-		int threads = 512;
+		int threads = 1024;
 		int blocks = facet_nb_ / threads + ((facet_nb_ % threads) ? 1 : 0);
 		switch (mode_)
 		{

	/*
	 * \brief fetch the double type in texture
	 */
	/*static __inline__ __device__
		double fetch_double(texture<int2, 1> t, index_t i){
		int2 v = tex1Dfetch(t, i);
		return __hiloint2double(v.y, v.x);
	}*/

	/*
	 * \breif Manipulates the computed RVD data.

				);

			//now we get the clipped polygon stored in "polygon", do something.
			action(
				current_polygon,
				current_seed
				);
			
			//Propagate to adjacent seeds
			for (index_t v = 0; v < current_polygon.vertex_nb; ++v)
