pctrie_toleaf
pctrie_toleaf(newval), PCTRIE_LOCKED);
pctrie_toleaf(val), PCTRIE_LOCKED);
pctrie_addnode(child, index, pctrie_toleaf(val), PCTRIE_UNSERIALIZED);