Limit maximum search depth