Roll back to not storing variable bound value nodes for each instance.
Fixed the instance links are not in the same order with pattern because AndLink is unordered problem.
Check if a instance contains duplicate links, avoid adding such instances.
Added threshold Frequency to limit the number of the patterns.
Stop mining when the frequency is lower than threshold.