Make codespaceRange as array of ranges, where  codespaceRange[n] will correspond  = n + 1 bytes range (mostly to avoid first empty runs for 2 byte encodings). `n` variable iterations can be limited as well. You may need to re-encode CMAP_CODESPACES.