fix one iteration of searchKL for source and destination nodes
merge