Using 20 one length pattern to generate patterns.