better room width handling