Right now it allocates a chunk of like X kilobytes and assumes it always has enough space, either abort when it doesn't have enough space to allocate the array of Points, or make it have a list of growable list of regions it can use which would solve the problem without requiring the total max to be limited.
Right now it allocates a chunk of like X kilobytes and assumes it always has enough space, either abort when it doesn't have enough space to allocate the array of Points, or make it have a list of growable list of regions it can use which would solve the problem without requiring the total max to be limited.