add member to store score
move node_stack_ from member to local