Added findNondilineatedPattern method