northward they rode , for they intended in their haste to pass through dimbar , and along the north marches or doriath , seeking the swiftest road to him ring , where maedhros their brother dwelt ; and still they might hope with speed to traverse it , since it lay close to doriath 's borders , shunning nan dungortheb and the distant menace of the mountains of terror .