flann conversion added