Iteration changes for PATRICIA tree implementation and other functionality.