Add ptrie data-structure