Check whether resizing is successful after insert and delete