Complete implementation moved to SortedMap repo