Changed timePassed checks on grow-loops, with a state flag and GrowPhase Enum.
Anstracted grow-loops to get data[j] as a parameter instead of a closure.
Performance improvements in grow-loops.