 					break;
 			}
 
-				// set the valid bitmap - all bits were set to 0 to start
-				int bitmapIdx 	= whichBitmap(rec_id + col);  	// which bitmap
-				int bitIdx		= whichBit(rec_id + col);		// which bit - over an 8-bit index
+				// // set the valid bitmap - all bits were set to 0 to start
+				// int bitmapIdx 	= whichBitmap(rec_id + col);  	// which bitmap
+				// int bitIdx		= whichBit(rec_id + col);		// which bit - over an 8-bit index
+				// // setBit(valid[col]+bitmapIdx, bitIdx);		// This is done with atomics
+
+				int bitmapIdx 	= whichBitmap(rec_id);  	// which bitmap
+				int bitIdx		= whichBit(rec_id);		// which bit - over an 8-bit index
 				setBit(valid[col]+bitmapIdx, bitIdx);		// This is done with atomics
 
 		}

			str_cols[stringCol][rec_id].first 	= NULL;
			str_cols[stringCol][rec_id].second 	= 0;
			stringCol++;
			if(threadIdx.x==0&&blockIdx.x==0){
				printf("^^^^ %d %ld 0 \n", col, start);	
			}

		}

		pos++;

#include "gdf/gdf_io.h"



constexpr int32_t HASH_SEED = 33;

using namespace std;
