applying the stack overflow hack to main library