Stack with realloc done