public static Sizes max(final Sizes s1, final Sizes s2) {
        return combine(s1, s2, Math::max);
    }
Create a set of sizes based on a list of longs. Where a size is not provided for a requested depth the
supplied default size will be used.

@param list        The list of sizes to use.
@param defaultSize The default size to return if needed.
@return A new set of sizes.
stroom-query/stroom-query-common/src/main/java/stroom/query/common/v2/Sizes.java