Allocate the correct number of literal characters.