Initial tree construction