in memory leveldown adapter using a red black tree