Simplify resize method by reducing combinations