Ah, but now I think I see the problem that you noticed.  The global size is wrong here if the number of rows is not evenly divisible by 4.  Thanks for the tip.  I will fix.