Remove custom stack size.
Rewrite memcpy prune function, fix segfault.

There was an off by one error.  It was heinous.