don't segfault on CUP with large parameters