Avoid quadratic.