You could combine these two lines to `@space = @space_stack.pop || @root_space` no?