Tweaked Tweaked algorithm