An AVL tree implementation that supports node.js streams