def _expand(dat, counts, start, end):
for pos in range(start, end):<EOL><INDENT>for s in counts:<EOL><INDENT>dat[s][pos] += counts[s]<EOL><DEDENT><DEDENT>return dat<EOL>
expand the same counts from start to end