Inline small functions; decrease size of tree node by 4 bytes
Made node capacity and world rect configurable