max iterations for resolving collisions now depends on temperature