 
 		__shared__ index_t has_visited[64][CUDA_Stack_size];
 		__shared__ index_t has_visited_nb[64];
+		
 		bool has_visited_flag = false;
 		index_t facetidx_in_block = (index_t)threadIdx.x / k_f;
 		int cur = pid;

			}
			current_polygon = current_store;
			counter++;
			
		}
		/*if (tid * k_f + pid < points_nb * 4){
			retdata[tid * k_f + pid] = counter;
		}*/

					//the neighbor seed is new!
					if (!has_visited_flag)
					{
						to_visit[to_visit_pos++] = ns;
						//has_visited[has_visited_nb++] = ns;
						atomicAdd(&has_visited_nb[facetidx_in_block], 1);
