An algorithm to pinpoint the position of a SIM.