fiximprove button size calculation