implement availableImpl and skipImpl

In this call to stack.push2 and the following, you need Long.fromNumber