     // bits loaded into the register and their count
     unsigned int r_bit_count = 0;
     unsigned int r_bit = 0; // LSB-aligned
+    
+    // TODO: try using block lists
     
     // Non-interleaving mode
     if ( comp_count == 1 ) {

/** Number of code bits to be checked first (with high chance for the code to fit into this number of bits). */
#define QUICK_CHECK_BITS 10
#define QUICK_TABLE_ITEMS (4 * (1 << QUICK_CHECK_BITS))

/** Table with same format as the full table, except that all-zero-entry means that the full table should be consulted. */
__device__ uint16_t gpujpeg_huffman_gpu_decoder_tables_quick[QUICK_TABLE_ITEMS];

        coder->d_segment, 
        comp_count,
        decoder->segment_count,
        coder->d_data_compressed
    );
    cudaError cuerr = cudaThreadSynchronize();
    gpujpeg_cuda_check_error("Huffman decoding failed");
