     , timesteps
     , channels
     , is_half_gcf
-    > (max_supp, gcf, grid, uvo_shared, vis, myU, myV);
+    > (max_supp, gcf, grid, uvo_shared, vis_shared, off_shared, myU, myV);
   }
 }
 

    , vis
    , uvo_shared
    , vis_shared
    );
  syncthreads();
  gridKernel_scatter_kernel<

  ) {
  __shared__ Pregridded uvo_shared[timesteps * channels];
  __shared__ Double4c vis_shared[timesteps * channels];
  __shared__ int2 off_shared[timesteps * channels];
  
  loadIntoSharedMem<
      over
