inversion with limited elements (DNA: A C G T)