avl_lookup should return offset node