Uncommented r-tree analysis, because it doesn't crash anymore