isTooBig = (size, maxSize) => {
	for (const key of Object.keys(size)) {
		const s = size[key];
		if (s === 0) continue;
		const maxSizeValue = maxSize[key];
		if (typeof maxSizeValue === "number" && s > maxSizeValue) return true;
	}
	return false;
}
@param {Record<string, number>} size size
@param {Record<string, number>} maxSize minimum size
@returns {boolean} true, when size is too big