modified room width and height calculations