Adding prefix table method