Fill empty shifts efficiently

Quickly identify replacements for empty shifts and make the adjustments.