Automatic height setter.