allocate beta_pw buffer once