Continuous floor collision detection

I have multiple custom cube objects in my scene that function as the floor for the player, and each has a box collider.
My problem is that when I run across these cubes with the player, it calls his OnCollisionEnter/Exit a lot of times, just because it stepped on a different cube each time.
In my case there should be no different behavior between these cubes anyway…
I understand why it’s normal… but is there a way I can refer to all these objects as a “unified floor”?
or maybe let OnCollisionEnter a higher priority for execution, so I’ll have the chance of ignoring the OnCollisionExit code?
Thanks!

Solved it.
I added a counter for knowing how many cubes I’m touching at the current moment, and increment/decrement it in the OnCollisionEnter/Exit accordingly.