Octrees are a data structure that allows for fast spatial queries of Roblox's 3D space.
npm install @quenty/octree --save
If not installing via npm, just copy the 3 files from shared into the place of your choice. Draw is an optional dependency. Otherwise, you can use this package via npm/nevermore.