technically, the it should be `end_millis = epoch_milliseconds(end) + spacing - 1`

I think.