simplify icon height/width calcuation