Implemented constant folding for integral expressions

not necessary anymore