improved seq tree checking