trying to find rtree segfault