wpt with tree

WPT specified with a tree stored in a `BitVector`.