Fully implemented boundary node based TD parser and replaced disjointness check. Doesn't work on node labels yet.