Reimplemented simple stack as real stack, which further optimizes args.