These were put in a bad spot (inside the loop) and would cause operations to take progressively longer. Only do these once.