def st(root, val, i): set_series(root, read_prefixes(root), read_refines(root), val, i) return rt(root)