renamed to LinesRTree