corrected ConstExpression
added DeclareLocalVar / LocalReadExpression / LocalWriteExpression