Simulates collisions in trep.