Tweaked RTree removing algorithm.