Removed nodes from getting stored in marginals