/// <summary>
        /// Produces default config for recursion level stop condition.
        /// </summary>
        /// <param name="levels">The number levels.</param>
        /// <returns>Adjusted config.</returns>
        public static DivikOptions ForLevels(int levels)
        {
            var opts = DivikOptions.Default();

            opts.Level = levels;
            return(opts);
        }
        /// <summary>
        /// Produces default config for size ratio stop condition.
        /// </summary>
        /// <param name="sizeRatioLimit">The size ratio limit.</param>
        /// <returns>Adjusted config.</returns>
        public static DivikOptions ForSize(double sizeRatioLimit)
        {
            var opts = DivikOptions.Default();

            opts.UsingLevels      = false;
            opts.PercentSizeLimit = sizeRatioLimit;
            return(opts);
        }