Some better calculation regarding bearing