brute force localization