Fixed bug164, closest runs slower with -id