bug fix genetic cross mapping