Memory, Search and Sense: A Theory about Nesting and Abstraction