Barrier effects in the cognitive maps of children and adults.