When you wanted to shop, you went to the mall and confined your search to the stores you found there.
366006
The confines of the mall limited you to what was there.
366007
The mall was only one of many places you ended up shopping at.