Tweak adjust width algorithm