Why chromosomes vary in size and shape