Refactor population of dst_hours using slices.