remove avl bits (now in library) from replica. avl.c needs to be removed from the source as well