memory bug fix

each node was copying data locally, but space was not allocated for it separately.