Another attempt making more friendly resize