can you add debug output of `_search_length`?