added function crawlMaxLevelReached()