A linear time approximation algorithm for the DCJ distance for balanced genomes with at most k duplicates.