Change oder of test cases to be more obvious
Separate outer optimization loop and reuse it for all width or height scaling
Prepare 0.2.6