bs based location calculation