Naive write var node analysis