fixed image size
add case calc_pattern
Merge branch 'OptimizeUI'