An analysis of within-compound associations in spatial learning