Attempt to fix gelss call in fit_tail.

uncommenting the resize fix the issue on linux.
valgrind reports no error any more.
What was the problem ?