Gravar-mail: Multichromosomal median and halving problems under different genomic distances