Modified the Avl_Size function