Fixed localization algorithm