In reply to Stanisław Olszak.

Too complex at this point in time. I wish someone solved this elegantly.