tries with treemap