More work on shared memory. It works but isn't faster.