Tiny cleanups

scan call is easier to understand in RecurrentLayerWithSearch
Splitting would be fine, you don't need to remove anything, just that I had a trouble reading this long line.