added better if-case for splitting multiple chromosomes