implemented set hash join threshold