improved width and height of figures