improve transformer code
further improve increment/decrement generation