optimized datrie