Initial state of vector (or array?), I do not understand

The behavior of my code is actually extremely odd to me. The higher the number of white particles, the closer the red ones are going to appear to the white ones.

If I reduce the size of the box, e.g. to int box_x = 100;, int box_y = 100;, then the particles will be almost static… Very very odd to me.