How do the cerebral hemispheres contribute to encoding spatial relations?