modifies figure size