adapting crossover to new tree implementation and concepts