change figure size to optimize pdf output