worked past segfault bug, implementing polygon tree traversal now;