parFilter segfault after first iteration