improved fixed point code generation