Effect of network topology on localization algorithm’s performance