resize on long inputs