added 3rd generation to tree, fixed some issues with scaling and centeri...

...ng tree