add more simple optmizations in the compiler