The point of the OP's code is to apply all 26 possible shift widths.
Makeshifts last the longest.
In reply to Re^2: Caesar Shift by Aristotle in thread Caesar Shift by TZapper