debugged the initChromosomes