update weighted distance but no improvement