limit depth of search in bapl match keypoint test