the clan territories of mackenzie and fraser , it turned out , adjoined each other for some distance along their inner borders , running side by side from the seacoast past the lower end of loch ness .