set root width & height