Make a non-tree-seq solution.

Hat tip to Adam Bard!