Limit code search depth