use nodes instead of depth as a search limit in fwcm example