optimized construction of const nodes: time critical in jack compiler