experimental stream with shmem ptr for reduction using flat tree algorithm...buggy