Upgraded RefreshNext algorithm.

Now it look for collisions.
TODO: NOT_INITIALIZED meets FILLED.