hydrating lex trees for segments