Initial tree drawing algo