Resizing list implementation.