switch to using std.range : chunks