conversion for 3-width charcs done