Performance increase for iterative_restrict.