Update Template to better parsing & iteration algorithm
Update Template to better parsing & iteration algorithm

  References:
    #178 : https://github.com/devpunks/snuggsi/issues/178

devpunks/snuggsi,snuggs/snuggsi,snuggs/snuggsi,snuggs/snuggsi,devpunks/snuggsi,snuggs/snuggsi,devpunks/snuggsi,devpunks/snuggsi,devpunks/snuggsi