[range(0, 3), 3] [[range(1, 3), 3]] [range(0, 3), 3], [range(3, 103), 1] [[range(0, 3), 3], [range(3, 103), 1]] () [] (range(0, 3): AB) [[range(0, 3), 3]] [] [[range(0, 3), 3], [range(3, 103), 1]] [[range(3, 103), 1]] range(0, 3) ['r', 'r', 'r', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] (range(0, 3): HA, range(3, 100): H) range(3, 7) (range(0, 7): HA, range(7, 100): H) ['r', 'r', 'r', 's', 's', 's', 's', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] SegMap 1 1 3 1 [(range(0, 3), 1), (range(3, 4), 3), (range(4, 100), 1)] Cons(car=6, cdr=Cons(car=5, cdr=Cons(car=4, cdr=Cons(car=3, cdr=Cons(car=2, cdr=Cons(car=1, cdr=0)))))) [6, Cons(car=5, cdr=Cons(car=4, cdr=Cons(car=3, cdr=Cons(car=2, cdr=Cons(car=1, cdr=0)))))] [, 1, 0, , 2, addr(0), , 3, addr(3), , 4, addr(6), , 5, addr(9), , 6, addr(12), None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] (range(0, 18): HA, range(18, 100): H) Cons(car=6, cdr=Cons(car=2, cdr=Cons(car=1, cdr=0))) (range(0, 18): HA, range(18, 100): H) [range(0, 6), range(15, 18)] (range(0, 6): HA, range(6, 15): H, range(15, 18): HA, range(18, 100): H) Cons(car=6, cdr=Cons(car=2, cdr=Cons(car=1, cdr=0))) (range(0, 3): AB, range(3, 103): A, range(1000, 1010): 2, range(1010, 1020): A2)