A precise interplay between BMO space and A_2 class in dimension one