Fixing problem introduced by adding stacksize parameter to executor interface