with shared memeory, no error but wrong results
optimiz shared mem small difference in values
modified but still some results wrong