Made fitness pass generation by reference