added HSP heuristic