poor implementation
jev should only have the choice of space_0 or space_1, then recurse on n-1
this extends the implementation to infinite padding and is cleaner code
jev should only have the choice of space_0 or space_1, then recurse on n-1
this extends the implementation to infinite padding and is cleaner code