A microcontroller friendly AVL tree implementation