Tree constructor implementation started