public static Sizes create(final List<Long> list) {
        if (list != null && list.size() > 0) {
            // If the list has some values the set the default size to the last value in the list.
            return create(list, list.get(list.size() - 1));
        }
        return unlimited();
    }
Create a set of sizes based on a list of longs. The default size will be derived from the last item in
the list or will default to 1.

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