slightly improved Hill Climbing alg