Binary tree logic was updated