use tree level locking instead of arenas