only node zero writes data in some cases