runtime arithmetic algorithm code generator at demonstration level