raise MAX_STRUCTS to fix segfault