Intorduce package level `fitsInCodeUnit`
Fix bugs using `fitsInCodeUnit`