definitely non-optimal.
I like to think I'm (usually!) pretty good at these, and I don't see how [censored]'s answer is not optimal, given how I understand the problem.

If that's definitely not optimal, could you explain a counter example for us? Maybe it will help us understand the problem in a different way.

John
_________________________
1998 BMW ///M3 30 GB Mk2a, Tuner, and 10 GB backup