Surnames cannot decide the proximity or distance in relationships. My cousin was married to his own aunt (first cousin of his mother). My cousin's surname is Kolaka and our aunt's surname is Mandangi. Some people of surname Mandangi were married to them who are with surname Kolaka. So, the parents of the girl and guy thought that their surnames match each other and it is right to perform the marriage of both.