sumSize = nodes => {
	const sum = Object.create(null);
	for (const node of nodes) {
		addSizeTo(sum, node.size);
	}
	return sum;
}
@template T
@param {Iterable<Node<T>>} nodes some nodes
@returns {Record<string, number>} total size