Let every created function have its own context

If the context is shared they will all wrap the same function!

Fixes regression from ebb4e566f1b81a9ff208f078d5ea0891a1636495
"Move most of the computation time into the constructor"