Well it won't work. Arrays are indexed using 32-bit integers which have an upper limit of 2.1 billion. You may be able to use the proximity component to solve this, use a group limit size of 1. I have no idea how long it will take on that many points.