Shared memory version of cell compression.

Only for one block. Do not have shared memory support for large,
multi-block kernels.