uggh... still segfaulting after 1M for some reason