add node.size() assertion