finish binary tree representation