Search Depth is now a parameter instead of a macro