resize for new sizes