change IDA* algorithm