2d interval tree with top-k for supporting range queries on secondary keys in UCR levelDB.