Properly calculate next chunk in sweep