segfault at fill_approximation