The efficiency of the alpha-beta search on trees with branch-dependent terminal node scores