use single core flann