cleanup of volknnsearch.m