• ABC: cheaper of join(AB, C) and join(BC, A).

  • ABD: cheaper of join(AB, D) and join(BD, A).

  • BCD: cheaper of join(BC, D) and join(BD, C).