public Collection<Rectangle2D> getBoundingBoxes() {
Collection<Rectangle2D> rects = envelopes.values().stream().map(env -> {
double x = env.getMinX();
public Collection<Rectangle2D> getBoundingBoxes() {
Collection<Rectangle2D> rects = envelopes.values().stream().map(env -> {
double x = env.getMinX();