start with one
+

get number of powers
>>>>,

[

move back to current value
<<<<

copy
[->+>+>+<<<]
>>>[-<<<+>>>]

add
<[-<+>]

<<
[->+>+>+<<<]
>>>[-<<<+>>>]

add
<[-<+>]

decrement and move counter
>>-[->+<]

reset position
>
]
