                 }
 
 
-                if (frontier_attribute.queue_reset)
-                    frontier_attribute.queue_reset = false;
+                //if (frontier_attribute.queue_reset)
+                //    frontier_attribute.queue_reset = false;
 
                 if (done[0] == 0) break; 
+
+                frontier_attribute.queue_length = edge_map_queue_len;
                 
                 //if (retval = work_progress.SetQueueLength(frontier_attribute.queue_index, edge_map_queue_len)) break;
 

            0,                                  // SATURATION QUIT
            true,                               // DEQUEUE_WTFOBLEM_SIZE
            8,                                  // MIN_CTA_OCCUPANCY
            6,                                  // LOG_THREADS
            1,                                  // LOG_LOAD_VEC_SIZE
            0,                                  // LOG_LOADS_PER_TILE
            5,                                  // LOG_RAKING_THREADS


                if (DEBUG && (retval = util::GRError(cudaThreadSynchronize(), "edge_map_forward::Kernel failed", __FILE__, __LINE__))) break;

                //frontier_attribute.queue_index++;

                    if (DEBUG)
                    printf(", %lld", (long long) frontier_attribute.queue_length);

                if (INSTRUMENT) {
                    if (retval = enactor_stats.advance_kernel_stats.Accumulate(
