An Octree-based proxy for collision detection in large-scale particle systems