LinearizeBST Final