initial resize, done right