limit max collisions to 5