let
iter_range s ~f =
BatAvlTree
.iter (
fun
(n1, n2)
->
f n1 n2) s