Slide the word length. k trits need the fewest bits b with 2^b >= 3^k; at 27 trits that is 43 bits, and the share in use approaches 100 percent.
This widget runs in your browser and needs JavaScript.