wip for windowed back substitution
wip
debugging
Fix
Fix size
Open up to k = 1