Need to round to output accuracy when checking whether integer boundary
has been passed.
Round start and finish at the start of new_indexes rather than having to
round various values within test conditions.  Makes the conditions a bit
easier to read.