new weigheted A*