fix isLast never triggering causing bad turns on bigger outputs - add tests for this
1.0.1