Solve a 'stack space overflow' that occurs when a lot of patterns are given.

Giving a set of 1802237 patterns leads to the stack overflow, but giving
a set of 155005 patterns doesn't.
Reduce memory usage.
Bump the version to '0.2.0.2'.