the optimized kernel works, but there is artefacts - certainly a bad shared memory handling