That's what was done in the first place. Since the main point was decreasing memory usage, giving access to the number of blocks gave control over the memory reduction factor. However, given that can have a impact on performance, chunk size seems finally to be the best idea. I'll revert it back.