only export root_width/height once, respect integer flag