Try the adaptive resize method