You should define a variable for `range.Range / 1024` (you may also want to round up using `(range.Range + 1023) / 1024`) to avoid unnecessary duplication.