(Did you check to see if moving this outside the loops actually made a difference, btw?)