add BA for relative translation computation. #2