Binary tree modified