Speed up iteration a bit.