Replace a recursive tail call with an infinite loop.

This eliminates _elements's size check from the loop.