Sharing representations through cognitive niche construction