Added tree scaling.