Improve reverse loop.