function rbush (maxEntries)
{
    var format = [ '.left', '.top', '.right', '.bottom' ];

    if (!(this instanceof rbush)) return new rbush(maxEntries, format);

    // max entries in a node is 9 by default; min node fill is 40% for best performance
    this._maxEntries = Math.max(4, maxEntries || 9);
    this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4));

    this.clear();
}
@classdesc
RBush is a high-performance JavaScript library for 2D spatial indexing of points and rectangles.
It's based on an optimized R-tree data structure with bulk insertion support.

Spatial index is a special data structure for points and rectangles that allows you to perform queries like
"all items within this bounding box" very efficiently (e.g. hundreds of times faster than looping over all items).

This version of RBush uses a fixed min/max accessor structure of `[ '.left', '.top', '.right', '.bottom' ]`.
This is to avoid the eval like function creation that the original library used, which caused CSP policy violations.

rbush is forked from https://github.com/mourner/rbush by Vladimir Agafonkin

@class RTree
@memberof Phaser.Structs
@constructor
@since 3.0.0