                           (part/carry-back store params outputs carry)
                           ('carry-back store params outputs carry))
                         outputs)]
-          (if (<= ('min-limit params) (count outputs))
+          (if (<= (min-branches params) (count outputs))
             ; Build one or more valid index nodes from the outputs.
-            [height (mapv index-children ('split-limited ('max-limit params) outputs))]
+            [height (mapv index-children (part/split-limited (max-branches params) outputs))]
             ; Not enough outputs to make a valid node - return for carrying.
             [(dec height) outputs]))
         ; No outputs, so return nil or direct carry.

    #(= data-type (:data/type %))
    #(= (count (::children %))
        (inc (count (::keys %))))))




         height 1]
    (if (<= (count layer) 1)
      (first layer)
      (let [index-groups (part/split-limited (max-branches params) layer)]
        (recur (mapv (fn store-index
                       [children]
                       (->> (index-children height children)
