added global/local refines for local volknnsearch