FLANN patch