Come up with heuristics for query plan scoring