Don't evaluate rend() on every iteration of the loop.