 
 
     const int blockDim2 = NTHREAD2;
-#ifdef _ORIG_SHMEM_
-    __shared__ int shmem[15*(1 << blockDim2)];
-#else
-    __shared__ int shmem[12*(1 << blockDim2)];
-#endif
+    __shared__ int shmem[11*(1 << blockDim2)];
     //    __shared__ int shmem[24*(1 << blockDim2)]; is possible on FERMI
     //    int             lmem[LMEM_STACK_SIZE];
 

  return y;
} 



  template<int SHIFT>

    return calc_prefix1<DIM2>(prefix, tid, value);
  else
  {
    prefix[tid] = inclusive_scan_warp<WARP_SIZE2>(value);
    __syncthreads();

