use `#pragma optimize` blast shield to prevent optimization segfaults on GCC