Immutable in-memory R-tree and R*-tree implementations in Java with reactive api